﻿using TjZheng.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TjZheng.Example.MVC.Controllers
{
    public class QueryController : Controller
    {
        //
        // GET: /Query/

        public ActionResult Index()
        {
            return View();
        }

        [HttpPost]
        [QueryFilter]
        public ActionResult QueryTest(QueryInfo objQueryInfo)
        {
            return Json(ViewBag.QueryCondition);
        }
    }
}
